ToBase64Chars(Byte[],Int32,Int32,Char[],Int32) Method
In This Topic
Converts a subset of the given byte array to an equivalent subset of an Unicode character array encoded with base-64 digits. Parameters specify the subsets as offsets in the input and output arrays, and the number of elements in the input array to convert.
Syntax
public static System.int ToBase64Chars(
System.byte[] ,
System.int ,
System.int ,
System.char[] ,
System.int
)
Parameters
- bytes
- byteIndex
- byteCount
- chars
- charIndex
Return Value
A 32-bit signed integer containing the number of chars created in the chars array.
Requirements
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)
See Also